import csv, os


def get_csv_data(file_name):
    data = csv.reader(open(file_name), delimiter=',')
  
    accounts = []
    next(data)  
         
    for row in data:
        for i in range(len(row)):
            accounts.append(row[i])
          
    return accounts
        
#print(get_csv_data(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))+'/config/register_account.csv'))

